package com.qf.service;

import com.qf.domain.TbUser;
import com.qf.domain.UserLogin;
import com.qf.domain.UserSearch;
import com.qf.utils.R;

import java.util.ArrayList;


/**
* @author LC
* @description 针对表【tb_user】的数据库操作Service
* @createDate 2025-09-29 17:43:19
*/
public interface TbUserService  {

    R login(UserLogin user);

    R addUser(TbUser tbUser);

    R getUserById(Integer id);

    R updateUserById(TbUser tbUser);

    R getAllUser();

    R deleteUserById(Integer id);

    R deleteUsers(ArrayList<Integer> ids);


    R getUserBySearch(UserSearch userSearch);
}
